package com.ruoyi.project.system.commodity.servuce;

import com.ruoyi.project.system.commodity.domain.GoodsCarousel;
import com.ruoyi.project.system.commodity.mapper.GoodsCarouselMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodsCarouselServiceImp implements GoodsCarouselService{

    @Autowired
    GoodsCarouselMapper goodsCarouselMapper;


    @Override
    public void insertCarousel(GoodsCarousel goodsCarousel) {
        goodsCarouselMapper.insertCarousel(goodsCarousel);
    }

    @Override
    public void updateCarousel(GoodsCarousel goodsCarousel) {
        goodsCarouselMapper.updateCarousel(goodsCarousel);
    }
}
